package com.cos.shop.services;

import com.cos.shop.entity.Product;

import java.util.List;
import java.util.Map;

/**
 * @author: COS
 * @time: 2022/2/24 9:07
 * @description:
 */
public interface ProductServices {
    List<Product> getProductByTid(int typeid);

    Map<String, Object> getProductWithPageByTid(int pageIndex,int typeid);

    Product getProductById(int pid);
}
